/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.mycompany.psc.producers;

import javax.enterprise.context.Dependent;
import javax.enterprise.context.RequestScoped;
import javax.enterprise.inject.Produces;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author A7med
 */
public class PersistenceProducer {
    @Produces @UserDB @Dependent @PersistenceContext(unitName = "com.mycompany_PSC_war_1.0-SNAPSHOTPU")
    static EntityManager userDB;
}
